package com.whcoding.multithreading.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true) //链式写法
/**
 * 部门
 * @author Manager
 */
public class OrmDeptVO implements Serializable {
	private Long id;
	private Integer deptId;
	private String deptNo;
	private String deptName;
	private Integer deptType;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date updateTime;
	private BigDecimal deptPerf;
	private Integer isValidFlag;
	private String shortName;
	private String remark;
	private List<String> deptNoList;
}
